package com.syzg.base.merge.model;

import java.io.Serializable;

public class PersonGroup implements Serializable
{
	private static final long serialVersionUID = 1L;
	private PersonGroupId id;
    private Person person;
    private Groups groups;
    
    public PersonGroup(){
    }

    public PersonGroup(PersonGroupId id, Person person, Groups groups){
        this.id = id;
        this.person = person;
        this.groups = groups;
    }

    public PersonGroupId getId(){
        return id;
    }

    public void setId(PersonGroupId id){
        this.id = id;
    }

    public Person getPerson(){
        return person;
    }

    public void setPerson(Person person){
        this.person = person;
    }

    public Groups getGroups(){
        return groups;
    }

    public void setGroups(Groups groups){
        this.groups = groups;
    }
}